using System;
using System.Collections.Generic;
using System.Text;

namespace MCromwell.StaffIntranet.Presenters
{
    public abstract class AbstractViewMessage : IViewMessage
    {
        private string fieldId;
        private string description;

        public AbstractViewMessage(string fieldId, string description)
        {
            this.fieldId = fieldId;
            this.description = description;
        }

        public AbstractViewMessage(string description) 
            : this(string.Empty, description)
        {
        }
        
        public string FieldId
        {
            get
            {
                return fieldId;
            }
            set
            {
                fieldId = value;
            }
        }

        public string Description
        {
            get
            {
                return description;
            }
            set
            {
                description = value;
            }
        }
    }
}
